package cz.zcu.fav.rat.rest.beans;

import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;

import cz.zcu.fav.rat.beans.PickAction;
import cz.zcu.fav.rat.beans.ReturnAction;

@XmlRootElement(name = "period")
@XmlType(name="")
public class PeriodMapping
{
	private int id;
	private String fromDate;
	private String toDate;
	private boolean valid;
	private PickAction pickAction;
	private ReturnAction returnAction;
	
	public int getId()
	{
		return id;
	}
	public void setId(int id)
	{
		this.id = id;
	}
	public String getFromDate()
	{
		return fromDate;
	}
	public void setFromDate(String fromDate)
	{
		this.fromDate = fromDate;
	}
	public String getToDate()
	{
		return toDate;
	}
	public void setToDate(String toDate)
	{
		this.toDate = toDate;
	}
	public boolean isValid()
	{
		return valid;
	}
	public void setValid(boolean valid)
	{
		this.valid = valid;
	}
	public PickAction getPickAction()
	{
		return pickAction;
	}
	public void setPickAction(PickAction pickAction)
	{
		this.pickAction = pickAction;
	}
	public ReturnAction getReturnAction()
	{
		return returnAction;
	}
	public void setReturnAction(ReturnAction returnAction)
	{
		this.returnAction = returnAction;
	}
	
}
